<h2>Admin Panel</h2>

<p><%= link_to 'Stocks Admin',  stocks_path %></p> 
<p><%= link_to 'Ticker Admin',  tickers_path %></p> 
<p><%= link_to 'Initiate Market!!', :action => :initiate, :confirm => 'Are you sure?' %></p> 
<p><%= link_to 'Sell Everything',  :action => :sell_all, :confirm => 'Are you sure?' %></p> 
<p><%= link_to 'Remove all my triggers',  :action => :remove %></p> 
<p>
<% if @market_up == 0 %>
<%= link_to('Opening Bell', :action => :opening_bell) %>
<% else %>
<%= link_to('Closing Bell', :action => :closing_bell) %>
<% end %>
</p> 


